package com.cxria.pattern.adaptation

class OuterUser implements IOuterUser{

    @Override
    Map getUserBaseInfo() {
        def baseInfo = [:]
        baseInfo << [username: '混世魔王']
        baseInfo << [mobileNumber: '15100001111']
        baseInfo
    }

    @Override
    Map getUserOfficeInfo() {
        def homeInfo = [:]
        homeInfo << [homeTelNumber: '028-8888-6666']
        homeInfo << [homeAddress: '火星 88‘66’77']
        homeInfo
    }

    @Override
    Map getUserHomeInfo() {
        def officeInfo = [:]
        officeInfo << [jobPosition: 'boss']
        officeInfo << [officeTelNumber: '010-7777-8888']
        officeInfo
    }

}
